<!DOCTYPE html>
<html>
<head>
    <title></title>
    <script>
        /*
         * This script is meant to be used by us (developers, testers).
         *
         * Booter is a script that can be used to force logout, set debug/dev settings and redirect the tester
         * to a specific page/url in MEGA.
         */

        var devhost = window.location.host;
        var pathSuffix = window.location.pathname;
        pathSuffix = pathSuffix.split("/").slice(0, -2).join("/");

        localStorage.clear();
        sessionStorage.clear();
        localStorage.staticpath = window.location.protocol + "//" + devhost + pathSuffix + "/";

        // Disable the cryptographic hash verification logic.
        localStorage.dd = '1';

        // localStorage.contextmenu = '1';

        localStorage.jj = '1';
        // localStorage.stopOnAssertFail = '1';

        // Turn on full debugging.
        localStorage.d = '1'; // Using console.*
        localStorage.minLogLevel = '0'; // Using MegaLogger, '0' = MegaLogger.LEVELS.DEBUG.

        var nextLoc = window.location.toString().split("?")[1];
        window.location = nextLoc ? "../" + nextLoc : "../";

    </script>
</head>
<body>

</body>
</html>
